﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace TN_CMS.Domain.Entities
{
    public class ProductGroup
    {
        [ScaffoldColumn(false)]
        public int Id { get; set; }

        [Required]
        [UIHint("TNText")]
        public string Key { get; set; }

        [Required]
        [UIHint("TNText")]
        public string Name { get; set; }

        [UIHint("TNLongText")]
        public string Description { get; set; }

        [ScaffoldColumn(false)]
        public int TotalViews { get; set; }

        [UIHint("TNCheckBox")]
        [Display(Name = "Is Active")]
        public bool IsActive { get; set; }

        [ScaffoldColumn(false)]
        public DateTime CreatedOn { get; set; }

        [ScaffoldColumn(false)]
        public int CreatedBy { get; set; }

        [ScaffoldColumn(false)]
        public DateTime? UpdatedOn { get; set; }

        [ScaffoldColumn(false)]
        public int? UpdatedBy { get; set; }
    }
}
